package cn.hust.springboot.mapper;

import cn.hust.springboot.bean.Nation;
import cn.hust.springboot.bean.NationExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface NationMapper {
    long countByExample(NationExample example);

    int deleteByExample(NationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Nation row);

    int insertSelective(Nation row);

    List<Nation> selectByExample(NationExample example);

    Nation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") Nation row, @Param("example") NationExample example);

    int updateByExample(@Param("row") Nation row, @Param("example") NationExample example);

    int updateByPrimaryKeySelective(Nation row);

    int updateByPrimaryKey(Nation row);
}